package com.taiji.dianthus.domain.sys;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @Classindex SysLog
 * @Description 日志实体
 * @Author H.M
 * @Date 2019/9/27
 * <p></p>
 * );
 */
@Data
@ToString
public class LogExcel extends BaseRowModel {


    private String id;

    @ExcelProperty(
            value = {"登录姓名"},
            index = 0)
    private String loginName;

    @ExcelProperty(value = "用户姓名", index = 1)
    private String userName;

    private String userId;


    private Integer operation;
    @ExcelProperty(value = "操作", index = 2)
    private String operationStr;

    @ExcelProperty(value = "ip 地址", index = 3)
    private String ipAddress;

    @ExcelProperty(value = "操作描述", index = 4)
    private String operationDesc;

    @ExcelProperty(value = "操作内容", index = 5)
    private String operationRemark;

    private Integer operationResult;

    @ExcelProperty(value = "操作结果", index = 6)
    private String operationResultStr;

    private String roleId;

    /**
     * 创建时间戳
     */
    @ExcelProperty(value = "创建时间", index = 7)
    private Date createTime;

    private Integer enableFlag;


}
